public interface CiscoMediaStreamEndedEv
extends javax.telephony.events.TermConnEv
Applications receive the CiscoMediaStreamEndedEv
event on the call observer of the call where
addMediaStream is invoked. This is typically the Agent Terminal/Address. This event is sent when the media
has finished playing on the call. It contains a field that it exposes if the media is played successfully, or
if the end event is the result of an error. This event is only delivered to the terminal that invokes the
original request, shared lines of the invoking terminal will not receive this event.
This is a TermConnEv
.
Modifier and Type | Field and Description |
---|---|
static int |
ID |
static int |
RESULT_FAILURE
This constant signifies that the CiscoMediaStreamEndedEv was caused by some failure, and the
media did not play properly.
|
static int |
RESULT_PRIMARY_CALL_DROPPED
This constant signifies that the CiscoMediaStreamEndedEv was delivered because the primary
call that the media call was attached to was dropped.
|
static int |
RESULT_SUCCESS
This constant signifies that the CiscoMediaStreamEndedEv was caused by a successful request,
and the media finished playing successfully.
|
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
static final int RESULT_FAILURE
static final int RESULT_SUCCESS
static final int RESULT_PRIMARY_CALL_DROPPED
static final int ID
int getID()
getID
in interface javax.telephony.events.Ev
int getResult()